import 'dart:math';

import 'package:business_getx/pages/controller/controller_test1_page.dart';
import 'package:business_getx/pages/controller/controller_test4.dart';
import 'package:business_getx/pages/get_main_page.dart';
import 'package:business_getx/pages/lifecycle/lifecycle_page.dart';
import 'package:business_getx/pages/theme/theme_page.dart';
import 'package:business_getx/pages/translation/translation_page.dart';
import 'package:flutter/cupertino.dart';
import 'package:lib_core/lib_core.dart';
import '../pages/controller/controller_test2_page.dart';
import '../pages/controller/controller_test3_page.dart';
import 'get_routes.dart';

class GetPages {
  static final Map<String, FlutterBoostRouteFactory> getPages = {
    GetRoutes.main: (setting, uniqueId) => CupertinoPageRoute(
        settings: setting,
        builder: (_) {
          return const GetMainPage();
        }),
    GetRoutes.controllerTest1: (setting, uniqueId) => CupertinoPageRoute(
        settings: setting,
        builder: (_) {
          return const ControllerTest1Page();
        }),
    GetRoutes.controllerTest2: (setting, uniqueId) => CupertinoPageRoute(
        settings: setting,
        builder: (_) {
          return ControllerTest2Page();
        }),
    GetRoutes.controllerTest3: (setting, uniqueId) => CupertinoPageRoute(
        settings: setting,
        builder: (_) {
          return const ControllerTest3Page();
        }),
    GetRoutes.controllerTest4: (setting, uniqueId) => CupertinoPageRoute(
        settings: setting,
        builder: (_) {
          return const ControllerTest4();
        }),
    GetRoutes.translation: (setting, uniqueId) => CupertinoPageRoute(
        settings: setting,
        builder: (_) {
          return TranslationPage();
        }),
    GetRoutes.theme: (setting, uniqueId) => CupertinoPageRoute(
        settings: setting,
        builder: (_) {
          return const ThemePage();
        }),
    GetRoutes.lifecycle: (setting, uniqueId) => CupertinoPageRoute(
        settings: setting,
        builder: (_) {
          return const LifecyclePage();
        }),
  };
}
